<template>
  <div>
    <h2>Count</h2>
    <!-- 直接读值  -->
    <h3>num值为:{{$store.state.num}}</h3>
    <h3>addNum的值是:{{ $store.getters.addNum}}</h3>
  </div>
</template>

<script>
export default {
    name:"Count"
}
</script>

<style>

</style>